{include file="./header.html"}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	<link rel="stylesheet" href="{$smarty.const.__PUBLIC__}/css/list.css" />
</head>
<body>


<!--背景遮罩--><div id='background' class='hidden'></div>
<!-- top 结束-->

	<div id='location'>
		<a href="">全部分类</a>
			&gt;&nbsp;{$url.title}&nbsp;&nbsp;
			&gt;&nbsp;<a href="">{$urlson.title}</a>&nbsp;&nbsp;
	</div>
<div class="SSwd">
<!--------------------中部-------------------->
	<div id='center'>
		<div id='left'>
			<div id='cate-list'>
				<p class='title'>按分类查找</p>
				<ul>
				{foreach key=k item=v from=$urlson}
					<li>
						<a href="index.php?m=url&cid={$v.cid}&judge=solve=0">{$v.title}</a>
					</li>
					{/foreach}
					<!-- <li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li> -->
				</ul>
			</div>
			<div id='answer-list'>
				<ul class='ans-sel'>
				{if $smarty.get.judge=='solve=0'}
					<li class='on'>
						<a href="{$smarty.const.__APP__}?m=url&cid={$smarty.get.cid}&judge=solve=0">待解决问题</a>
					</li>
					{else}
					<li class=''>
						<a href="{$smarty.const.__APP__}?m=url&cid={$smarty.get.cid}&judge=solve=0">待解决问题</a>
					</li>
					{/if}
					{if $smarty.get.judge=='solve=1'}
					<li class="on">
						<a href="{$smarty.const.__APP__}?m=url&cid={$smarty.get.cid}&judge=solve=1">已解决</a>
					</li>
						{else}
						<li >
						<a href="{$smarty.const.__APP__}?m=url&cid={$smarty.get.cid}&judge=solve=1">已解决</a>
					</li>
						{/if}
						{if $smarty.get.judge=='reward=10'}
					<li class="on">
						<a href="{$smarty.const.__APP__}?m=url&cid={$smarty.get.cid}&judge=reward=10">高悬赏</a>
					</li>
					{else}
					<li >
						<a href="{$smarty.const.__APP__}?m=url&cid={$smarty.get.cid}&judge=reward=10">高悬赏</a>
					</li>
					{/if}
					{if $smarty.get.judge=='answer=0'}
					<li class="on" >
						<a href="{$smarty.const.__APP__}?m=url&cid={$smarty.get.cid}&judge=answer=0">零回答</a>
					</li>
					{else}
					<li>
						<a href="{$smarty.const.__APP__}?m=url&cid={$smarty.get.cid}&judge=answer=0">零回答</a>
					</li>
					{/if}
				</ul>
				<!-- 待解决问题 -->
				<table>
					<tr>
						<th class='t1'>标题</th>
						<th>回答数</th>
						<th>时间</th>
					</tr>
						
						{foreach key=k_on item=v_no from=$cateask}
						<tr>
							
							<td class='t1 cons'>
								<a href="{$smarty.const.__APP__}?c=Show&asid={$v_no.asid}">
									<b>20</b>{$v_no.content}</a>[{$url.title}]
							</td>
							<td>20</td>
							<td>1900.1.1</td>
						</tr>
						{/foreach}
					<!-- 	<tr>
							<td class='t1 cons'>
								<a href="">
									<b>20</b>后盾顶尖PHP培训</a>&nbsp;&nbsp;[培训]
							</td>
							<td>20</td>
							<td>1900.1.1</td>
						</tr>
						<tr>
							<td class='t1 cons'>
								<a href="">
									<b>20</b>后盾顶尖PHP培训</a>&nbsp;&nbsp;[培训]
							</td>
							<td>20</td>
							<td>1900.1.1</td>
						</tr>
						<tr>
							<td class='t1 cons'>
								<a href="">
									<b>20</b>后盾顶尖PHP培训</a>&nbsp;&nbsp;[培训]
							</td>
							<td>20</td>
							<td>1900.1.1</td>
						</tr>
 -->
					<tr class='page'>
						<td colspan='3'>
							<a href="">1</a>
							<a href="">2</a>
							<a href="">3</a>
						</td>
					</tr>
				</table>

			</div>
		</div>

		<!-- 右侧 -->
		<div id='right'>
		{if $now_memberCenter==0}
			<div class='userinfo'>
			请先登陆
			</div>

		{else}
		<div class='userinfo'>
			<dl>
				<dt>
					<a href="" ><img style="border-radius:50%" src="{$icoinfo}" width='48' height='48' alt="占位符"/></a>
				</dt>
				<dd class='username'>
					<a href="">
						<b>{$smarty.session.name}</b>
					</a>
					<a href="">
						<i class='level lv1' title='Level 1'></i>
					</a>
				</dd>
				<dd>金币：<a href="" style="color: #888888;">{$now_memberCenter.point}<b class='point'></b></a></dd>
				<dd>经验值：{$now_memberCenter.exp}</dd>
			</dl>
			<table>
				<tr>
					<td>回答数</td>
					<td>采纳率</td>
					<td class='last'>提问数</td>
				</tr>
				<tr>
					<td><a href="">{$now_memberCenter.answer}</a></td>
					<td><a href="">20%</a></td>
					<td class='last'><a href="">{$now_memberCenter.ask}</a></td>
				</tr>
			</table>
			<ul>
				<li><a href="">我提问的</a></li>
				<li><a href="">我回答的</a></li>
			</ul>
		</div>
		{/if}
		<!-- <div class='r-login'>
			<span class='login'><i></i>&nbsp;登录</span>
			<span class='register'><i></i>&nbsp;注册</span>
		</div> -->
	<div class='clear'></div>
	<div class='star'>
		<p class='title'>后盾问答之星</p>
		<span class='star-name'>回答问题最多的人</span>
			<div class='star-info'>
				<div>
					<a href="" class='star-face'>
						<img src="{$icoAnswerMore}" width='48px' height='48px' alt="头像站位"/>
					</a>
					<ul>
						<li><a href="">{$moreanswer.username}</a></li>
						<i class='level lv1' title='Level 1'></i>
					</ul>
				</div>
				<ul class='star-count'>
					<li>回答数：<span>{$moreanswer.answer}</span></li>
					<li>采纳率：<span>50%</span></li>
				</ul>
			</div>
		<span class='star-name'>红验最多的人</span>

		<div class='star-info'>
			<div>
				<a href="" class='star-face'>
					<img src="{$icoExpMore}" width='48px' height='48px' alt="头像站位"/>
				</a>
				<ul>
					<li><a href="">{$moreexp.username}</a></li>
					<i class='level lv1' title='Level 1'></i>
				</ul>
			</div>
			<ul class='star-count'>
				<li>回答数：<span>{$moreexp.answer}</span></li>
				<li>红验数:<span>{$moreexp.exp}</span></li>
			</ul>
		</div>
	</div>
	<div class='star-list'>
		<p class='title'>后盾问答助人光荣榜</p>
		<div>
			<ul class='ul-title'>
				<li>用户名</li>
				<li style='text-align:right;'>回答过的条数</li>
			</ul>
			<ul class='ul-list'>
			{foreach key=kanswer item=vanswer from=$moreansweruser}
				<li>
					<a href=""><i class='rank r1'></i>{$vanswer.username}</a>
					<span>{$vanswer.answer}</span>
				</li>
				{/foreach}
			<!-- 	<li>
					<a href=""><i class='rank r2'></i>houdunwang.com</a>
					<span>100</span>
				</li>
				<li>
					<a href=""><i class='rank r3'></i>houdunwang.com</a>
					<span>100</span>
				</li> -->				
			</ul>
		</div>
	</div>
</div>
</div>
<!-- ---右侧结束---- -->
	</div>
<!--------------------中部结束-------------------->

<!-- 底部 -->
	<div id='bottom'>
		<p>Copyright © 2013 Qihoo.Com All Rights Reserved 后盾网</p>
		<p>京公安网备xxxxxxxxxxxx</p>
	</div>
<!--[if IE 6]>
    <script type="text/javascript" src="./Js/iepng.js"></script>
    <script type="text/javascript">
    	DD_belatedPNG.fix('.logo','background');
        DD_belatedPNG.fix('.nav-sel a','background');
        DD_belatedPNG.fix('.ask-cate i','background');
    </script>
<![endif]-->
</body>
</html>
<!-- 底部结束 -->